/*

    'PlugCore.as' is part of 'PlugManagmentSystem'.

    'PlugCore' is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

   ' PlugCore' is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with 'PlugCore'.  If not, see <http://www.gnu.org/licenses/>.


	Copyright 2009  |  flashEater  |  Oliver Jan Krylow

*/
	
	
	
	// clean up license blocks
	// todo add cc to html and embed viewsource component
	// enable stop() for PlugManager
	// consider raw-metadata switch instead of META_INF...
	
	// IDEAS FOR PLUGINS
	// PhpCommand -> Proxy plugin for PHP Communication
	// performance monitor plug
	// displayArranger plug
	// codebox 


package
{
	import flash.display.Sprite;
	
	
	[SWF(width="800", height="600", frameRate="45", backgroundColor="0x919191")]
	
	public class PlugCore extends Sprite
	{
		private var plgmngr:PlugManager;
		
		
		public function PlugCore()
		{
			plgmngr = new PlugManager();
			
			addChild(plgmngr);
			
			plgmngr.init();
		
			trace("PlugCore ,baby!");
			
			helloApparat();
			
			APPARAT::TDSI
			function helloApparat():void
			{
				trace("hello Apparat!",APPARAT,APPARAT::NO_TDSI);
			}
			
			APPARAT::NO_TDSI
			function helloApparat():void
			{
				trace("byebye Apparat!",APPARAT::TDSI,APPARAT::NO_TDSI);
			}
			
		}
	}
}